// source --> https://www.news-planet.tv/wp-content/plugins/wordpress-popular-posts/assets/js/wpp.min.js?ver=5.2.4 var wpp_params=null,WordPressPopularPosts=function(){"use strict";var a=function(){},b=!!HTMLElement.prototype.attachShadow,c=function(a,b,c,d){var e=new XMLHttpRequest,f=c;a=-1==["GET","POST"].indexOf(a)?"GET":a,e.open(a,b+("GET"==a?"?"+f:""),!0),"POST"==a&&e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.setRequestHeader("X-Requested-With","XMLHttpRequest"),e.onreadystatechange=function(){4===e.readyState&&200<=e.status&&300>e.status&&"function"==typeof d&&d.call(void 0,e.response)},e.send("POST"==a?f:null)};return{get:function(b,d,e){e="function"==typeof e?e:a,c("GET",b,d,e)},post:function(b,d,e){e="function"==typeof e?e:a,c("POST",b,d,e)},ajax:c,theme:function(a){if(b){let b=document.createElement("style"),c=document.createElement("ul");c.innerHTML="
  • ",a.parentNode.appendChild(c);let d=getComputedStyle(c.querySelector("li")),e=getComputedStyle(c.querySelector("li a"));b.innerHTML=".wpp-list li {font-size: "+d.fontSize+"}",b.innerHTML+=".wpp-list li a {color: "+e.color+"}",a.parentNode.removeChild(c);let f=a.attachShadow({mode:"open"});for(f.append(b);a.firstElementChild;)f.append(a.firstElementChild)}}}}();(function(){try{var a=document.querySelector("script#wpp-json"),b=!0;if(wpp_params=JSON.parse(a.textContent),wpp_params.ID){if("1"==wpp_params.sampling_active){var c=Math.floor(Math.random()*wpp_params.sampling_rate)+1;b=1===c}b&&WordPressPopularPosts.post(wpp_params.ajax_url,"_wpnonce="+wpp_params.token+"&wpp_id="+wpp_params.ID+"&sampling="+wpp_params.sampling_active+"&sampling_rate="+wpp_params.sampling_rate,function(a){wpp_params.debug&&window.console&&window.console.log&&window.console.log(JSON.parse(a))})}}catch(a){console.error("WPP: Couldn't read JSON data")}})(),document.addEventListener("DOMContentLoaded",function(){function a(a){WordPressPopularPosts.get(wpp_params.ajax_url+"/widget/"+a.getAttribute("data-widget-id").split("-")[1],"is_single="+wpp_params.ID+(wpp_params.lang?"&lang="+wpp_params.lang:""),function(b){a.insertAdjacentHTML("afterend",JSON.parse(b).widget);let c=a.parentNode,d=c.querySelector(".popular-posts-sr");c.removeChild(a),d&&WordPressPopularPosts.theme(d);let e=null;"function"==typeof Event?e=new Event("wpp-onload",{bubbles:!0,cancelable:!1}):document.createEvent&&(e=document.createEvent("Event"),e.initEvent("wpp-onload",!0,!1)),e&&c.dispatchEvent(e)})}var b=document.querySelectorAll(".wpp-widget-placeholder");if(b.length)for(var c=0;c https://www.news-planet.tv/wp-content/themes/bimber/js/modernizr/modernizr-custom.min.js?ver=3.3.0 /*! modernizr 3.3.0 (Custom Build) | MIT * * http://modernizr.com/download/?-cssanimations-flexbox-flexboxtweener-setclasses-shiv !*/ !function(e,t,n){function r(e,t){return typeof e===t}function o(){var e,t,n,o,a,i,s;for(var l in C)if(C.hasOwnProperty(l)){if(e=[],t=C[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;nd;d++)if(h=e[d],g=T.style[h],i(h,"-")&&(h=l(h)),T.style[h]!==n){if(a||r(o,"undefined"))return c(),"pfx"==t?h:!0;try{T.style[h]=o}catch(y){}if(T.style[h]!=g)return c(),"pfx"==t?h:!0}return c(),!1}function g(e,t,n,o,a){var i=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+w.join(i+" ")+i).split(" ");return r(t,"string")||r(t,"undefined")?h(s,t,o,a):(s=(e+" "+_.join(i+" ")+i).split(" "),f(s,t,n))}function v(e,t,r){return g(e,n,n,t,r)}var y=[],C=[],E={_version:"3.3.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){C.push({name:e,fn:t,options:n})},addAsyncTest:function(e){C.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=E,Modernizr=new Modernizr;var x=t.documentElement,b="svg"===x.nodeName.toLowerCase();b||!function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=C.elements;return"string"==typeof e?e.split(" "):e}function o(e,t){var n=C.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),C.elements=n+" "+e,c(t)}function a(e){var t=y[e[g]];return t||(t={},v++,e[g]=v,y[v]=t),t}function i(e,n,r){if(n||(n=t),u)return n.createElement(e);r||(r=a(n));var o;return o=r.cache[e]?r.cache[e].cloneNode():h.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!o.canHaveChildren||m.test(e)||o.tagUrn?o:r.frag.appendChild(o)}function s(e,n){if(e||(e=t),u)return e.createDocumentFragment();n=n||a(e);for(var o=n.frag.cloneNode(),i=0,s=r(),l=s.length;l>i;i++)o.createElement(s[i]);return o}function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return C.shivMethods?i(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(C,t.frag)}function c(e){e||(e=t);var r=a(e);return!C.shivCSS||f||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),u||l(e,r),e}var f,u,d="3.7.3",p=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",v=0,y={};!function(){try{var e=t.createElement("a");e.innerHTML="",f="hidden"in e,u=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){f=!0,u=!0}}();var C={elements:p.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:d,shivCSS:p.shivCSS!==!1,supportsUnknownElements:u,shivMethods:p.shivMethods!==!1,type:"default",shivDocument:c,createElement:i,createDocumentFragment:s,addElements:o};e.html5=C,c(t),"object"==typeof module&&module.exports&&(module.exports=C)}("undefined"!=typeof e?e:this,t);var S="Moz O ms Webkit",w=E._config.usePrefixes?S.split(" "):[];E._cssomPrefixes=w;var _=E._config.usePrefixes?S.toLowerCase().split(" "):[];E._domPrefixes=_;var N={elem:s("modernizr")};Modernizr._q.push(function(){delete N.elem});var T={style:N.elem.style};Modernizr._q.unshift(function(){delete T.style}),E.testAllProps=g,E.testAllProps=v,Modernizr.addTest("cssanimations",v("animationName","a",!0)),Modernizr.addTest("flexbox",v("flexBasis","1px",!0)),Modernizr.addTest("flexboxtweener",v("flexAlign","end",!0)),o(),a(y),delete E.addTest,delete E.addAsyncTest;for(var j=0;j